body {
  margin: 0;
}
::selection {
  background: rgba(0, 149, 255, 0.2);
}
html {
  font-family: sans-serif;
  text-size-adjust: 100%;
}
[hidden],
template {
  display: none;
}
[text-center] {
  text-align: center;
}
a {
  background-color: transparent;
}
a:active,
a:hover {
  outline: 0;
}
b,
strong {
  font-weight: 700;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
img {
  border: 0;
}
button {
  overflow: visible;
}
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
}
figure {
  margin: 1em 40px;
}
hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}
pre {
  overflow: auto;
}
code,
kbd,
pre,
samp {
  font-family: monospace;
  font-size: 1em;
}
button,
select {
  text-transform: none;
}
button,
html input[type='button'],
input[type='reset'],
input[type='submit'] {
  -webkit-appearance: button;
  cursor: pointer;
}
button[disabled],
html input[disabled] {
  cursor: default;
}
input[type='search'] {
  -webkit-appearance: textfield;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}
input[type='search']::-webkit-search-cancel-button,
input[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}
textarea {
  overflow: auto;
  font-size: 14px;
}
button,
input,
select,
textarea {
  font-family: system, -apple-system, BlinkMacSystemFont, 'PingFang SC', Arial,
    'Microsoft YaHei', Lato, sans-serif;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
td,
th {
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  font-weight: 700;
  line-height: 1.5;
  font-family: 'PingFang SC', 'Microsoft YaHei', Lato, sans-serif;
}

h2,
h3,
h4,
h5,
h6 {
  margin: 20px 0 15px;
}

h1 {
  font-size: 22px;
}
@media (max-width: 991px) {
  h1 {
    font-size: 18px;
  }
}
h2 {
  font-size: 20px;
}
@media (max-width: 991px) {
  h2 {
    font-size: 16px;
  }
}
h3 {
  font-size: 18px;
}
@media (max-width: 991px) {
  h3 {
    font-size: 14px;
  }
}
h4 {
  font-size: 16px;
}
@media (max-width: 991px) {
  h4 {
    font-size: 12px;
  }
}
h5 {
  font-size: 14px;
}
@media (max-width: 991px) {
  h5 {
    font-size: 10px;
  }
}
h6 {
  font-size: 12px;
}
@media (max-width: 991px) {
  h6 {
    font-size: 8px;
  }
}
p {
  margin: 0 0 20px 0;
}
a {
  color: #505160;
  text-decoration: none;
  outline: 0;
  border-bottom: 1px solid #999;
  word-wrap: break-word;
}
a:hover {
  color: #000;
  border-bottom-color: #000;
}
blockquote {
  margin: 0;
  padding: 0;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
hr {
  margin: 40px 0;
  height: 3px;
  border: none;
  background-color: #ddd;
  background-image: repeating-linear-gradient(
    -45deg,
    #fff,
    #fff 4px,
    transparent 4px,
    transparent 8px
  );
  text-align: center;
}
blockquote {
  padding: 0 15px;
  color: #666;
  border-left: 3px solid #38a3fd;
  background: #eef6fd;
}
blockquote cite::before {
  content: '-';
  padding: 0 5px;
}
.clearfix:after,
.clearfix:before {
  content: ' ';
  display: table;
}
.clearfix:after {
  clear: both;
}
table {
  margin: 20px 0;
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  border: 1px solid #ddd;
  font-size: 14px;
  table-layout: fixed;
  word-wrap: break-all;
}
table > tbody > tr:nth-of-type(odd) {
  background-color: #f9f9f9;
}
table > tbody > tr:hover {
  background-color: #f5f5f5;
}
caption,
td,
th {
  padding: 8px;
  text-align: left;
  vertical-align: middle;
  font-weight: 400;
}
td,
th {
  border-bottom: 3px solid #ddd;
  border-right: 1px solid #eee;
}
th {
  padding-bottom: 10px;
  font-weight: 700;
}
td {
  border-bottom-width: 1px;
}
/* ***      ----         ***** */
@font-face {
  font-family: 'Telefon Black';
  src: url(../font/TelefonBlack.woff) format('woff'),
    url(../font/TelefonBlack.woff2) format('woff2');
}
body {
  position: relative;
  font-family: system, -apple-system, BlinkMacSystemFont, 'PingFang SC', Arial,
    'Microsoft YaHei', Lato, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
  line-height: 2;
  color: #555;
  background: #f5f7f9;
  margin: 0;
}
code {
  padding: 2px 4px;
  margin: 0 4px;
  word-wrap: break-word;
  color: #555;
  background: #eee;
  border-radius: 3px;
  font-size: 13px;
}
code,
pre {
  font-family: Menlo, Bitstream Vera Sans Mono, DejaVu Sans Mono, Monaco,
    Consolas, 'PingFang SC', 'Microsoft YaHei', monospace !important;
}
/* pre {
  background: #f7f7f7 !important;
} */
pre code {
  background: none;
}
html,
body,
#root {
  height: 100%;
  width: 100%;
}
.site-nav {
  left: 0;
  right: 0;
  top: 0;
  position: fixed;
  z-index: 3;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.6s;
}
.site-nav:hover {
  background: rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 0 2px 2px rgba(172, 172, 172, 0.4) !important;
}
.menu {
  padding-left: 0;
  margin: 0 auto;
  width: 1110px;
  position: relative;
  text-align: left;
}
@media (max-width: 991px) {
  .menu {
    display: flex;
    width: 100%;
  }
}
.menu li.menu-item {
  border: 0;
  display: inline-block;
  height: 50px;
  line-height: 50px;
  position: relative;
  text-align: left;
  margin: 0 20px 0 0;
}
.site-nav .menu-item a.current {
  position: relative;
  color: #000;
}
.site-nav .menu-item a.current::before {
  position: absolute;
  border-right: 8px solid transparent;
  border-bottom: 8px solid;
  border-left: 8px solid transparent;
  content: '';
  vertical-align: middle;
  bottom: 0;
  left: 50%;
  color: #000;
  transform: translateX(-50%);
}
@media (max-width: 991px) {
  .menu li.menu-item {
    flex: 1;
    -webkit-box-flex: 1;
    margin: 0;
  }
  .menu .menu-item a.current,
  .site-nav .menu-item a.current::before {
    color: #40b3ec;
  }
}
.menu .menu-item a {
  display: block;
  position: relative;
  box-sizing: border-box;
  padding: 0 12px;
  line-height: inherit;
  transition-property: background-color;
  transition-duration: 0.2s;
  transition-timing-function: ease-in-out;
  transition-delay: 0s;
  color: #000;
  font-size: 16px;
  border-bottom: none;
}
.menu .menu-item a:hover {
  text-shadow: 1px 1px 1px #000;
}
@media (max-width: 991px) {
  .menu .menu-item a {
    text-align: center;
    padding: 0;
  }
}
.menu .menu-item.search {
  float: right;
  margin: 0 0 0 20px;
}
@media (max-width: 991px) {
  .menu .menu-item.search {
    display: none;
  }
}
.header-wrap {
  position: relative;
  width: 100%;
  height: 550px;
  padding: 0;
  box-shadow: initial;
  border-radius: initial;
}
@media (max-width: 991px) {
  .header-wrap {
    width: auto;
    height: 200px;
  }
}
.site-config {
  height: 520px;
  width: 100%;
  background-size: cover;
  background-position: 50%;
  background-repeat: no-repeat;
  animation: fade-in-bottom 1s 0.3s backwards;
  background-attachment: fixed;
}
@media (max-width: 991px) {
  .site-config {
    height: 200px;
    background-attachment: initial;
  }
}
.site-meta {
  position: relative;
  top: 200px;
  text-align: center;
}
.site-title {
  -webkit-font-smoothing: antialiased;
  font-family: 'Telefon Black', Sans-Serif;
  font-size: 48px;
  font-weight: 600;
  color: #000;
}
.site-description {
  font-size: 36px;
  font-weight: 400;
  color: #000;
}
@media (max-width: 991px) {
  .site-meta {
    top: 60px;
  }
  .site-description {
    display: none;
  }
}
.main-inner {
  width: 1110px;
  margin: 0 auto;
}
@media (max-width: 991px) {
  .main-inner {
    width: auto;
  }
}
.content-wrap {
  width: 772px;
  min-height: 720px;
  margin: 0 auto;
  float: left;
}
@media (max-width: 991px) {
  .content-wrap {
    width: 100%;
    padding: 0;
    min-height: 400px;
    border-radius: initial;
  }
}
/* sidebar */
#sidebar {
  width: 315px;
  float: right;
  position: static;
}
@media (max-width: 991px) {
  #sidebar {
    display: none;
  }
}
.sidebar-inner {
  animation: fade-in-left 0.3s 0.3s backwards;
  background-color: #fff;
  border-radius: 5px;
  padding: 20px;
  box-sizing: border-box;
  color: #555;
  background: #fff;
  border-radius: 5px;
  z-index: 2;
}
.sidebar-inner.affix {
  position: fixed;
  top: 50px;
  width: 315px;
}
.sidebar section {
  display: none;
}
.sidebar section.sidebar-section-active {
  display: block;
}
.sidebar-nav {
  margin: 0 0 20px 0;
  padding-left: 0;
}
.sidebar-nav li {
  display: inline-block;
  cursor: pointer;
}
.sidebar-nav li + li {
  margin-left: 10px;
}
.sidebar-nav .sidebar-nav-active {
  color: crimson;
  border-bottom: 1px solid crimson;
}
.toc-nav {
  margin: 0;
  padding-left: 40px;
}
.toc-nav ul {
  padding-left: 20px;
}
.toc-nav .toc-subnav {
  line-height: 1.8;
}
.toc-subnav a {
  text-decoration: none;
}
.site-author-image {
  margin: 0 auto;
  max-width: 150px;
  max-height: 150px;
  border: none;
  padding: 0;
}
.site-author-name {
  margin: 5px 0 8px;
  font-weight: 700;
}
.author-social-links {
  padding-left: 0;
  margin: 0 0 5px;
  cursor: pointer;
}
.author-social-links li {
  line-height: 1;
  padding: 0 5px;
  display: inline-block;
}
.author-social-links a {
  border: none;
}
.site-status-item {
  display: inline-block;
  text-align: center;
  padding: 0 10px 5px;
  line-height: 1.4;
}
.site-state-item-count,
.site-state-item-name {
  display: block;
}
.site-status-posts .site-state-item-name {
  color: #40b3ec;
}
.site-status-categories .site-state-item-name {
  color: crimson;
}
.site-state-item-name {
  font-size: 16px;
}
.site-state-item-count {
  font-weight: 600;
}
.cc-license a {
  display: inline-block;
  border: none;
}
/* sidebar end */
/* page-navigator */
.page-navigator {
  display: block;
  margin: 20px 0;
  border-top: none;
  background: #fff;
  padding: 15px 0;
  border-radius: 5px;
  text-align: center;
}
.page-navigator li {
  list-style: none;
  display: inline-block;
  margin: 5px 0;
}
.page-navigator li a {
  box-sizing: border-box;
  margin: 0 10px;
  padding: 4px 12px;
  border: 1px solid #5f5f5f;
  border-radius: 3px;
}
.page-navigator li a .iconfont {
  font-size: 14px;
}
.page-navigator li a:hover,
.page-navigator li.current a {
  background-color: #00a7e0;
  color: #fff;
  border-color: transparent;
}
/* page-navigator end */
.post-content > h1,
.post-content > h2,
.post-content > h3,
.post-content > h4,
.post-content > h5,
.post-content > h6 {
  position: relative;
  padding-left: 5px;
}
.post-content > h1::before,
.post-content > h2::before,
.post-content > h3::before,
.post-content > h4::before,
.post-content > h5::before,
.post-content > h6::before {
  position: absolute;
  top: 0;
  left: -15px;
  content: '#';
  color: #ec6149;
}
.post {
  padding: 40px;
  background: #fff;
  margin-bottom: 40px;
  border-radius: 5px;
  position: relative;
}
.post img {
  cursor: zoom-in;
}
.post:nth-child(1) {
  animation: fade-in-right 0.3s 0.3s backwards;
}
.post:nth-child(2) {
  animation: fade-in-right 0.3s 0.4s backwards;
}
.post:nth-child(3) {
  animation: fade-in-right 0.3s 0.5s backwards;
}
.post:nth-child(4) {
  animation: fade-in-right 0.3s 0.6s backwards;
}
.post:nth-child(5) {
  animation: fade-in-right 0.3s 0.7s backwards;
}
@media (max-width: 991px) {
  .post {
    padding: 40px 20px;
    border-radius: 0;
  }
}
.post-badge {
  position: absolute;
  top: 50px;
  left: -14px;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2),
    0 1px 5px 0 rgba(0, 0, 0, 0.12);
  background-color: #97dffd;
  padding: 7px 11px 7px 32px;
  line-height: 1;
}
@media (max-width: 991px) {
  .post-badge {
    top: 10px;
    left: -20px;
  }
}
.post-badge::after {
  position: absolute;
  content: '';
  left: 0;
  top: 100%;
  border-top: o solid transparent;
  border-left: o solid transparent;
  border-bottom: 1em solid transparent;
  border-right: 1em solid #888;
}
.post-badge a {
  color: #fff;
  border: none;
}
.post-header {
  margin-bottom: 10px;
  text-align: center;
}
.post-title {
  text-align: center;
}
.post-title-link {
  font-size: 25px;
  font-weight: 700;
  display: inline-block;
  position: relative;
  color: #555;
  border-bottom: none;
  line-height: 1.2;
}
.post-meta {
  font-size: 12px;
  margin-bottom: 30px;
}
.post-meta span {
  margin: 0 5px;
}
.post-meta a,
.post-meta span {
  color: #666;
}
.post-meta a,
.post-button a,
.post-button a {
  border: none;
  text-decoration: none;
}
.post-content {
  margin-top: 10px;
}
.post-button {
  margin-top: 40px;
}
.post img {
  box-sizing: border-box;
  padding: 5px;
  margin: 0 auto;
}
.post-button a {
  padding: 6px 20px;
  color: #5f5f5f;
  border: 1px solid #5f5f5f;
  border-radius: 20px;
}
.post-button a:hover {
  color: #000;
  font-weight: 600;
  border: #000 solid 2px;
}
/* post php */
.free-reward {
  padding: 10px 0;
  margin: 20px auto;
  text-align: center;
}
.free-reward .btn-pay {
  display: inline-block;
  outline: none;
  border: none;
  padding: 8px 25px;
  font-size: 16px;
  color: #fff;
  background-color: #ea6f5ae8;
  border-radius: 3px;
}
.free-reward .btn-pay:hover {
  background-color: #ec6149;
}
.free-reward .wechat-qr,
.free-reward .qq-qr {
  display: inline-block;
}
.qr {
  margin-top: 20px;
  overflow: hidden;
  transition: height 0.5s;
}
.qr img {
  width: 180px;
  max-width: 100%;
  display: inline-block;
  margin: 0.8em 2em 0 2em;
}
#wechat,
#alipay {
  display: inline-block;
}
#wechat {
  color: #44b549;
}
#alipay {
  color: #00a0e9;
}
.post-footer {
  display: table;
  margin-top: 15px;
  width: 100%;
  border-top: 1px solid #eee;
}
.post-nav-item {
  display: table-cell;
  padding: 40px 0 0 0;
  width: 45%;
  vertical-align: top;
}
.post-nav-item a {
  border: none;
}
.post-nav-prev {
  text-align: right;
}
/* post php end */
/* comment */
#comments {
  animation: fade-in-top 0.3s 0.6s backwards;
}
.comment-title a,
[title='Logout'] {
  border: none;
  color: #dc143c;
}
#comment-form {
  position: relative;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}
.comment-parent,
#comment-form {
  background: #fff;
  border-radius: 5px;
  margin-bottom: 20px;
}
#comment-form input {
  display: block;
  border: none;
  float: left;
  width: 30%;
  margin: 10px 5px;
  box-sizing: border-box;
  padding: 5px 0;
  border-bottom: 1px solid #d8dadc;
  outline: none;
}
@media (max-width: 991px) {
  #comment-form input {
    width: 100%;
  }
  .comment-title {
    padding-left: 10px;
  }
}
#comment-form textarea {
  background: transparent url(../img/comment-bg.png) right top no-repeat;
  background-size: 20%;
  outline: none;
  border: none;
  height: 150px;
  width: 100%;
  resize: none;
}
#comment-form button {
  font-size: 14px;
  position: absolute;
  outline: none;
  padding: 6px 20px;
  right: 40px;
  bottom: 20px;
  border-radius: 20px;
  background: none;
  border: 1px solid #5f5f5f;
  color: #5f5f5f;
}
#comment-form button:hover {
  font-weight: 600;
  border-width: 2px;
}
ol.comment-list {
  padding: 0;
  margin: 0;
}
ol.comment-list li.comment-parent {
  list-style: none;
}
ol.comment-list a {
  border: none;
}
ol.comment-list p {
  margin: 0;
}
ol.comment-list li {
  list-style: none;
}
ol.comment-list ol {
  padding: 0;
}
.comment-inner {
  padding: 20px;
}
.comment-child {
  border-top: 1px solid #c4d3e6;
}
.comment-author .avatar {
  display: inline-block;
  width: 40px;
  height: 40px;
  margin-right: 5px;
  vertical-align: middle;
  border-radius: 50%;
}
.comment-author .fn {
  font-style: normal;
  font-size: 16px;
}
.device-info {
  float: right;
  margin-right: 15px;
}
.device-info span {
  margin: 0 10px;
  text-shadow: #40b3ec 1px 1px 6px;
}
.device-info span:first-child {
  text-shadow: #dc143c 1px 1px 6px;
}
.comment-content {
  margin: 10px 0;
  color: #313131;
}
/* .comment-meta {
  letter-spacing: 2px;
} */
.comment-reply a {
  float: right;
  color: #40b3ec;
}
.comment-by-author {
  position: relative;
}
.comment-by-author::after {
  content: '#';
  color: #dc143c;
  text-shadow: #dc143c 1px 1px 6px;
  position: absolute;
  right: 20px;
  top: 22px;
}
/* comment end */
.tool-bar {
  transition: transform 0.6s;
  position: fixed;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 48px;
  line-height: 48px;
  border-top: 1px solid #e0e0e0;
  background-color: #fff;
}
.tool-bar-inner {
  max-width: 990px;
  padding: 0px 10px;
  margin: 0 auto;
}
.site-action {
  float: right;
}
.site-action a {
  font-size: 14px;
  padding: 12px;
  cursor: pointer;
  color: #313131;
  border: 0;
}
#footer {
  background: #fff;
  padding: 20px 0px;
  text-align: center;
  margin-top: 20px;
}
#footer p {
  margin: 5px 0;
}
#footer a {
  color: #000;
  border: none;
}
/* search page */
.search-post form {
  position: relative;
}
.search-post input#s {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 40px;
  padding: 0 40px 0 18px;
  color: #313131;
  border: 1px solid rgba(184, 197, 214, 0.2);
  border-radius: 20px;
  outline: none;
  font-size: 14px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.search-post input#s:hover,
.search-post input#s:active,
.search-post input#s:focus {
  border: 1px solid rgba(184, 197, 214, 1);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.search-post button[type='submit'] {
  position: absolute;
  right: 10px;
  border: none;
  background-color: transparent;
  outline: none;
  top: 20px;
  transform: translateY(-50%);
}
.search-post button[type='submit'] .iconfont.icon-search {
  font-size: 20px;
}
.search-placeholder {
  margin-top: 30px;
}
.search-placeholder ul {
  margin: 0;
  padding: 0;
}
.search-placeholder ul li {
  margin: 8px 4px;
  list-style: none;
  display: inline-block;
}
.tag-link,
.tags a {
  color: #fff;
  border-radius: 15px;
  padding: 6px 10px;
  border: none;
}
.tags a {
  display: inline-block;
  line-height: 1;
}
.tags a:nth-of-type(odd) {
  color: #fff;
  background-color: #ed143d7d;
  margin: 5px;
}
.tags a:nth-of-type(odd):hover {
  background-color: #ed143db0;
}
.tags a:nth-of-type(even) {
  color: #fff;
  background-color: #4cb5f5;
  margin: 5px;
}
.tags a:nth-of-type(even):hover {
  background-color: #00a7e0;
}
.tags a::before {
  content: '# ';
}
.search-placeholder hr:after {
  content: attr(title);
  position: absolute;
  transform: translate(-50%, -100%);
  line-height: 3px;
  font-size: 24px;
  font-weight: 900;
  color: #dc2f60;
}
/* page link */
#link ul {
  padding: 0;
}
#link li {
  box-sizing: border-box;
  width: 40%;
  display: inline-block;
  border: 1px solid #dc2f60;
  border-radius: 3px;
  box-shadow: 4px 4px 20px 0px #eee;
  padding: 32px 10px 10px 10px;
  margin: 20px;
  text-align: center;
  position: relative;
}
@media (max-width: 991px) {
  #link li {
    width: 80%;
  }
}
#link li a {
  font-size: 16px;
  font-weight: 600;
}
#link li hr {
  margin: 10px;
}
#link img {
  position: absolute;
  left: 50%;
  top: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border-bottom: #dc2f60 2px solid;
}
.timeline-archives {
  animation: fade-in-top 0.2s 0.3s backwards;
}
/* animate */
@keyframes fade-in-right {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fade-in-left {
  0% {
    opacity: 0;
    transform: translateX(20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fade-in-top {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fade-in-bottom {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
canvas#ribbons {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -999;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
canvas#live2d {
  left: 0;
  bottom: 0;
  z-index: 999;
  position: fixed;
  pointer-events: none;
}
@media (max-width: 991px) {
  canvas#live2d {
    width: 70px;
    height: 125px;
  }
}
.img-view,
.img-view > img {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(26, 26, 26, 0.65);
  margin: auto;
  z-index: 999;
}
.img-view {
  display: none;
  position: fixed;
  overflow: auto;
}
.img-view > img {
  animation: feda-large 0.3s;
  cursor: zoom-out;
  position: absolute;
  max-height: 90%;
  max-width: 90%;
}
@keyframes feda-large {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
img[alt='sticker'] {
  width: 40px;
  height: 40px;
  display: inline-block;
}
